#! /usr/bin/env python3

# print("你好，世界！  "*3); # 重复输出
n = 100

sum = 0
counter = 1
while (counter <= n):
    sum += counter
    counter += 1

print("1到%d间的合计是：%d" % (n, sum))


